home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -seriously_amiga- / shareware / graphics / povray3 / povray3_060 / include / woods.inc < prev   
Text File  |  1997-12-12  |  18KB  |  733 lines

  1. #ifdef(Woods_Inc_Temp)
  2. // do nothing
  3. #else
  4. #declare Woods_Inc_Temp=version
  5. #version 3.0
  6.  
  7. #ifdef(View_POV_Include_Stack)
  8. #   debug "including woods.inc\n"
  9. #end
  10.  
  11. #include "woodmaps.inc"
  12.  
  13. /*
  14.  
  15.               Persistence of Vision Raytracer Version 3.0
  16.                          Basic wooden textures
  17.  
  18.   Credits:
  19.   Textures T_Wood1 through T_Wood30 by Dan Farmer
  20.  
  21.   Textures T_Wood31 through T_Wood35 contributed by
  22.   Paul Novak, 75274.1613@compuserve.com
  23.  
  24.   Notes on layered textures T_Wood1 through T_Wood30:
  25.  
  26.   The pigment definitions:
  27.   ========================
  28.   Declares pigments P_Woodgrain1A through P_Woodgrain19A and
  29.   P_Woodgrain1B through P_Woodgrain19B.  The only difference between the
  30.   "A" designations and the "B" designations is in design.  The "A"'s
  31.   were designed to generally work better as underlying patterns, using
  32.   opaque color_maps,  while the "B" pigments were designed to work
  33.   better as top layers, with some degree of transparency in their
  34.   color_maps.
  35.  
  36.   The pigments with the "A" and "B" designations are combinations that
  37.   were designed to work well together, but do not neccessarily have to
  38.   be used as pairs.
  39.  
  40.   These pigment definitions do not have colormaps assigned so
  41.   that they can mix 'n matched in various combinations by the user when
  42.   designing their own colors.  In this file, the color_maps are added at
  43.   the point of defining the final textures.
  44.  
  45.  
  46.   The color_map definitions:
  47.   ==========================
  48.   These are declared in the #include file "woodmaps.inc".  They are
  49.   named M_Wood1A through M_Wood19A and M_Wood1B through M_Wood19B.
  50.  
  51.   There are two types of declarations in woodmaps.inc. The "A" color_maps
  52.   are intended as the 1st layer of multi-layer textures, but many work
  53.   well by themselves, as well.
  54.  
  55.   The "B" color_maps contain transparent colors and are intended for
  56.   use as top layers to influence the "A" maps.
  57.  
  58.  
  59.   The wood textures
  60.   =================
  61.   Here the various P_WoodGrainx textures are combined with color_maps to
  62.   create textures named T_Wood1 through T_Wood30.
  63.  
  64.  
  65.   General
  66.   =======
  67.   Wood textures are designed with the major axis of the woodgrain
  68.   "cylinder" aligned along the Z axis.  With the exception of the few
  69.   of the textures below that have a small amount of x-axis rotation
  70.   built-in, the textures below will exhibit a very straight grain
  71.   pattern unless you apply a small amount of x-axis rotation to them
  72.   (generally 2 to 4 degrees seems to work well).
  73.  
  74. */
  75.  
  76.  
  77.  
  78. #declare P_WoodGrain1A =
  79. pigment {
  80.     wood
  81.     turbulence 0.04
  82.     octaves 3
  83.     scale <0.05, .05, 1>
  84. }
  85.  
  86. #declare P_WoodGrain1B =
  87. pigment {
  88.     wood
  89.     turbulence <0.1, 0.5, 1>
  90.     octaves 5
  91.     lambda 3.25
  92.     scale <0.15, .5, 1>
  93.     rotate <5, 10, 5>
  94.     translate -x*2
  95. }
  96.  
  97. #declare P_WoodGrain2A =
  98. pigment {
  99.     wood
  100.     turbulence 0.04
  101.     octaves 3
  102.     scale <0.15, .15, 1>
  103. }
  104.  
  105. #declare P_WoodGrain2B =
  106. pigment {
  107.     wood  
  108.     turbulence <0.1, 0.35, 0.1>
  109.     octaves 5
  110.     lambda 3.25
  111.     scale <0.25, .25, 1>
  112.     rotate <5, 10, 5>
  113.     translate -x*2
  114. }
  115.  
  116. #declare P_WoodGrain3A = 
  117. pigment {
  118.     wood  
  119.     turbulence 0.04
  120.     octaves 3
  121.     scale <0.05, .05, 1>
  122.     rotate <2,2,0>
  123. }
  124.  
  125. #declare P_WoodGrain3B =
  126. pigment {
  127.     wood  
  128.     turbulence <0.1, 0.5, 1> 
  129.     octaves 5
  130.     lambda 3.25
  131.     scale <0.15, .5, 1>
  132.     rotate <5, 10, 5>
  133.     translate -x*2
  134. }
  135.  
  136. #declare P_WoodGrain4A = 
  137. pigment {
  138.     wood
  139.     turbulence 0.04
  140.     octaves 4
  141.     omega 1.25
  142.     scale <0.15, .15, 1>
  143. }
  144.  
  145. #declare P_WoodGrain4B =
  146. pigment {
  147.     bozo
  148.     turbulence <0.03, 0.03, 0.1>
  149.     octaves 5
  150.     lambda 3.25
  151.     scale <0.025, .025, 1.0>
  152. }
  153. #declare P_WoodGrain5A =
  154. pigment {
  155.     wood  
  156.     turbulence <0.04, 0.04, 0.1>
  157.     octaves 4
  158.     omega 1.25
  159.     scale <0.15, .15, 1>
  160. }
  161.  
  162. #declare P_WoodGrain5B =
  163. pigment {
  164.     wood  
  165.     turbulence <0.025, 0.025, 0.1>
  166.     octaves 4
  167.     omega 1.3
  168.     scale <0.30, .20, 1>
  169.     translate <0.1, 0.1, 0.20>
  170. }
  171.  
  172.  
  173. #declare P_WoodGrain6A =
  174. pigment {
  175.     wood 
  176.     turbulence <0.05, 0.08, 1>
  177.     octaves 4
  178.     scale <0.15, .15, 1>
  179.     translate -x*100
  180. }
  181.  
  182. #declare P_WoodGrain6B =
  183. pigment {
  184.     wood  
  185.     turbulence <0.05, 0.05, 0>
  186.     octaves 4
  187.     omega 0.95
  188.     scale <0.20, 0.20, 1>             
  189.     rotate x*20
  190. }
  191.  
  192.  
  193. #declare P_WoodGrain7A =
  194. pigment {
  195.     wood
  196.     turbulence <0.05, 0.08, 1000>
  197.     octaves 4
  198.     scale <0.15, .15, 1>
  199. }
  200.  
  201. #declare P_WoodGrain7B =
  202. pigment {
  203.     bozo
  204.     scale <0.01, 0.01, 100000>
  205. }
  206.  
  207.  
  208. #declare P_WoodGrain8A =
  209. pigment {
  210.     wood
  211.     turbulence 0.04
  212.     octaves 3
  213.     scale <0.05, .05, 1>
  214. }
  215.  
  216. #declare P_WoodGrain8B =
  217. pigment {
  218.     wood
  219.     turbulence <0.04, 0.04, 1>
  220.     octaves 4
  221.     scale <0.05, 0.05, 1> * 0.66
  222. }
  223.  
  224.  
  225. #declare P_WoodGrain9A =
  226. pigment {
  227.     wood  
  228.     turbulence 0.1
  229.     octaves 4
  230.     lambda 3
  231.     scale 0.2
  232.     rotate <0.125, 0.125, 0>
  233. }
  234.  
  235. #declare P_WoodGrain9B =
  236. pigment {
  237.     wood
  238.     turbulence 0.1          
  239.     octaves 4
  240.     lambda 3.5
  241.     scale 0.2
  242.     rotate <0.125, 0.125, 0>
  243.     translate <0.015, 0.015, 0.015>
  244. }
  245.  
  246.  
  247. #declare P_WoodGrain10A =
  248. pigment {
  249.     wood  
  250.     turbulence 0.02
  251.     octaves 4
  252.     lambda 3
  253.     scale 0.175
  254.     rotate <2, 2, 0>
  255. }
  256.  
  257.  
  258. #declare P_WoodGrain10B =
  259. pigment {
  260.     wood
  261.     turbulence 0.02
  262.     octaves 4
  263.     lambda 2.8
  264.     scale 0.2
  265.     rotate <2, 2, 0>
  266.     translate <0.0175, 0.0175, 0.0175>
  267. }
  268.  
  269.  
  270. #declare P_WoodGrain11A =
  271. pigment {
  272.     wood
  273.     turbulence 0.02
  274.     scale 0.1
  275.     translate <10, 0, 0>
  276. }
  277.  
  278. #declare P_WoodGrain11B =
  279. pigment {
  280.     wood
  281.     turbulence 0.01
  282.     scale 0.5
  283.     translate <10, 0, 0>
  284. }
  285.  
  286.  
  287. #declare P_WoodGrain12A =
  288. pigment {
  289.     bozo
  290.     turbulence 0.04
  291.     lambda 2.5
  292.     omega 0.1
  293.     octaves 7
  294.     scale <0.5, 0.05, 0.05>
  295. }
  296.  
  297. #declare P_WoodGrain12B =
  298. pigment {
  299.     wood
  300.     turbulence <0.1, 0.04, 1>
  301.     scale <0.15, 0.5, 1>
  302. //    translate <10, 0, 0>
  303.     rotate x*2
  304. }
  305.  
  306.  
  307. #declare P_WoodGrain13A =
  308. pigment {
  309.     wood
  310.     turbulence 0.02
  311.     scale 0.1
  312.     translate <10, 0, 0>
  313. }
  314.  
  315. #declare P_WoodGrain13B =
  316. pigment {
  317.     wood
  318.     turbulence 0.01
  319.     scale 0.05 
  320. //    translate <10, 0, 0>
  321. }
  322.  
  323.  
  324. #declare P_WoodGrain14A =
  325. pigment {
  326.     wood
  327.     colour_map { M_Wood14A }
  328.     turbulence 0.065
  329.     octaves 2
  330.     scale <0.15, .15, 1>
  331.     translate < -1 0 0 >
  332.     rotate <-3, -3, 0>
  333. }
  334.  
  335. #declare P_WoodGrain14B=
  336. pigment {
  337.     wood
  338.     colour_map { M_Wood14B }
  339.     turbulence <0, 0.1, 0>
  340.     lambda 2.75
  341.     omega 1.15
  342.     octaves 4
  343.     scale <5, 0.075, 1>
  344.     rotate x*90
  345. }
  346.  
  347.  
  348. #declare P_WoodGrain15A =
  349. pigment {
  350.     bozo
  351.     colour_map { M_Wood15A }
  352.     turbulence 0.04
  353.     scale <0.05 0.05 1>
  354. }
  355.  
  356.  
  357. #declare P_WoodGrain15B =
  358. pigment {
  359.     wood
  360.     colour_map { M_Wood15B }
  361.     scale <0.20 0.20 1>
  362.     turbulence 0.04
  363.     rotate <-2, 2, 0>
  364. }
  365.  
  366.  
  367. #declare P_WoodGrain16A =
  368. pigment {
  369.     bozo
  370.     colour_map { M_Wood16A }
  371.     turbulence 0.04
  372.     scale <0.02 0.02 1>
  373. }
  374.  
  375.  
  376. #declare P_WoodGrain16B =
  377. pigment {
  378.     wood
  379.     colour_map { M_Wood16B }
  380.     scale <0.075 0.075 1>
  381.     turbulence 0.035
  382.     rotate <-2, 2, 0>
  383. }
  384.  
  385.  
  386. #declare P_WoodGrain17A = 
  387. pigment {
  388.     wood
  389.     colour_map { M_Wood17A }
  390.     turbulence 0.04
  391.     omega 0.4
  392.     scale <0.1 0.1 1>
  393.     rotate -x*4
  394. }
  395.  
  396. #declare P_WoodGrain17B =
  397. pigment {
  398.     wood
  399.     colour_map { M_Wood17B }
  400.     turbulence 0.05
  401.     omega 0.65
  402.     scale <0.2 0.2 1>
  403.     rotate -x*2
  404. }
  405.  
  406. #declare P_WoodGrain18A =
  407. pigment {
  408.     wood
  409.     colour_map { M_Wood18A }
  410.     turbulence 0.02
  411.     octaves 4
  412.     lambda 4
  413. //    scale 0.3
  414.     scale 0.1
  415.     rotate <2, 0, 0>
  416. }
  417.  
  418.  
  419. #declare P_WoodGrain18B =
  420. pigment {
  421.     wood
  422.     colour_map { M_Wood18B }
  423.     turbulence 0.02
  424.     octaves 6
  425.     lambda 2.8
  426.     omega 0.6
  427. //    scale 0.1
  428.     scale 0.05
  429.     rotate <2, 0, 0>
  430. }
  431.  
  432. #declare P_WoodGrain19A =
  433. pigment {
  434.     wood
  435.     scale <0.075, 0.075, 1>
  436.     turbulence 0.065
  437.     omega 0.45
  438.     lambda 2.3
  439.     color_map { M_Wood19A }
  440.     rotate x*4
  441. }
  442. #declare P_WoodGrain19B =
  443. pigment {
  444.     bozo
  445.     color_map { M_Wood19B }
  446.     scale <0.013, 0.013, 0.75>
  447. }
  448.  
  449.  
  450.  
  451. // Natural oak (light)
  452. #declare T_Wood1 =
  453.     texture { pigment { P_WoodGrain1A  color_map { M_Wood1A }}}
  454.     texture { pigment { P_WoodGrain1B  color_map { M_Wood1B }}}
  455.  
  456. // Dark brown
  457. #declare T_Wood2   =
  458.     texture { pigment { P_WoodGrain2A  color_map { M_Wood2A }}}
  459.     texture { pigment { P_WoodGrain2B  color_map { M_Wood2B }}}
  460.  
  461. // Bleached oak (white)
  462. #declare T_Wood3   =         
  463.     texture { pigment { P_WoodGrain3A  color_map { M_Wood3A }}} 
  464.     texture { pigment { P_WoodGrain3B  color_map { M_Wood3B }}}
  465.  
  466. // Mahogany (purplish-red)
  467. #declare T_Wood4   =
  468.     texture { pigment { P_WoodGrain4A  color_map { M_Wood4A }}}
  469.     texture { pigment { P_WoodGrain4B  color_map { M_Wood4B }}}
  470.  
  471. // Dark yellow with reddish overgrain
  472. #declare T_Wood5   =         
  473.     texture { pigment { P_WoodGrain5A  color_map { M_Wood5A }}} 
  474.     texture { pigment { P_WoodGrain5B  color_map { M_Wood5B }}}
  475.  
  476. // Cocabola (red)
  477. #declare T_Wood6   =         
  478.     texture { pigment { P_WoodGrain6A  color_map { M_Wood6A }}}
  479.     texture { pigment { P_WoodGrain6B  color_map { M_Wood6B }}}
  480.  
  481. // Yellow pine (ragged grain)
  482. #declare T_Wood7   =         
  483.     texture { pigment { P_WoodGrain7A  color_map { M_Wood7A }}} 
  484.     texture { pigment { P_WoodGrain7B  color_map { M_Wood7B }}}
  485.  
  486. // Dark brown. Walnut?    
  487. #declare T_Wood8   =
  488.     texture { pigment { P_WoodGrain8A  color_map { M_Wood8A }}} 
  489.     texture { pigment { P_WoodGrain8B  color_map { M_Wood8B }}}
  490.  
  491. // Yellowish-brown burl (heavily turbulated)
  492. #declare T_Wood9   =         
  493.     texture { pigment { P_WoodGrain9A  color_map { M_Wood9A }}}
  494.     texture { pigment { P_WoodGrain9B  color_map { M_Wood9B }}}
  495.  
  496. // Soft pine (light yellow, smooth grain)
  497. #declare T_Wood10 = 
  498.     texture {  pigment{ P_WoodGrain10A color_map { M_Wood10A }}} 
  499.     texture {  pigment{ P_WoodGrain10B color_map { M_Wood10B }}}
  500.  
  501. // Spruce (yellowish, very straight, fine grain)
  502. #declare T_Wood11 = 
  503.     texture {  pigment{ P_WoodGrain11A color_map { M_Wood11A }}} 
  504.     texture {  pigment{ P_WoodGrain11B color_map { M_Wood11B }}}
  505.  
  506. // Another very dark brown.  Walnut-stained pine, perhaps?
  507. #declare T_Wood12 = 
  508.     texture {  pigment{ P_WoodGrain12A color_map { M_Wood12A }}} 
  509.     texture {  pigment{ P_WoodGrain12B color_map { M_Wood12B }}}
  510.  
  511. // Very straight grained, whitish
  512. #declare T_Wood13 = 
  513.     texture {  pigment{ P_WoodGrain13A color_map { M_Wood13A }}}
  514.     texture {  pigment{ P_WoodGrain13B color_map { M_Wood13B }}}
  515.  
  516. // Red, rough grain
  517. #declare T_Wood14 = 
  518.     texture {  pigment{ P_WoodGrain14A color_map { M_Wood14A }}} 
  519.     texture {  pigment{ P_WoodGrain14B color_map { M_Wood14B }}}
  520.  
  521. // Medium brown
  522. #declare T_Wood15 =
  523.     texture {  pigment{ P_WoodGrain15A color_map { M_Wood15A }}} 
  524.     texture {  pigment{ P_WoodGrain15B color_map { M_Wood15B }}}
  525.  
  526. // Medium brown
  527. #declare T_Wood16 = 
  528.     texture {  pigment{ P_WoodGrain16A color_map { M_Wood16A }}} 
  529.     texture {  pigment{ P_WoodGrain16B color_map { M_Wood16B }}}
  530.  
  531. // Medium brown
  532. #declare T_Wood17 = 
  533.     texture {  pigment{ P_WoodGrain17A color_map { M_Wood17A }}} 
  534.     texture {  pigment{ P_WoodGrain17B color_map { M_Wood17B }}}
  535.  
  536. // Orange
  537. #declare T_Wood18 =
  538.     texture {  pigment{ P_WoodGrain18A color_map { M_Wood18A }}}
  539.     texture {  pigment{ P_WoodGrain18B color_map { M_Wood18B }}}
  540.  
  541. // Golden Oak.
  542. //  M_Woods 1,3,7,8,10,14,15,17,18,19 work well, also.
  543. #declare T_Wood19 =
  544.     texture {  pigment{ P_WoodGrain19A color_map { M_Wood19A }}}
  545.     texture {  pigment{ P_WoodGrain19B color_map { M_Wood19B }}}
  546.  
  547. #declare T_Wood20 =
  548.     texture {  pigment{ P_WoodGrain19A color_map { M_Wood19A }}}
  549.     texture {  pigment{ P_WoodGrain19B color_map { M_Wood19B }}}
  550.  
  551. #declare T_Wood21 =
  552.     texture {  pigment{ P_WoodGrain1A color_map { M_Wood11A }}}
  553.     texture {  pigment{ P_WoodGrain1B color_map { M_Wood11B }}}
  554.  
  555. #declare T_Wood22 =
  556.     texture {  pigment{ P_WoodGrain1A color_map { M_Wood12A }}}
  557.     texture {  pigment{ P_WoodGrain1B color_map { M_Wood12B }}}
  558.  
  559. #declare T_Wood23 =
  560.     texture {  pigment{ P_WoodGrain1A color_map { M_Wood13A }}}
  561.     texture {  pigment{ P_WoodGrain1B color_map { M_Wood13B }}}
  562.  
  563. #declare T_Wood24 =
  564.     texture {  pigment{ P_WoodGrain1A color_map { M_Wood14A }}}
  565.     texture {  pigment{ P_WoodGrain1B color_map { M_Wood14B }}}
  566.  
  567. #declare T_Wood25 =
  568.     texture {  pigment{ P_WoodGrain1A color_map { M_Wood15A }}}
  569.     texture {  pigment{ P_WoodGrain1B color_map { M_Wood15B }}}
  570.  
  571. #declare T_Wood26 =
  572.     texture {  pigment{ P_WoodGrain1A color_map { M_Wood16A }}}
  573.     texture {  pigment{ P_WoodGrain1B color_map { M_Wood16B }}}
  574.  
  575. #declare T_Wood27 =
  576.     texture {  pigment{ P_WoodGrain1A color_map { M_Wood17A }}}
  577.     texture {  pigment{ P_WoodGrain1B color_map { M_Wood17B }}}
  578.  
  579. #declare T_Wood28 =
  580.     texture {  pigment{ P_WoodGrain1A color_map { M_Wood18A }}}
  581.     texture {  pigment{ P_WoodGrain1B color_map { M_Wood18B }}}
  582.  
  583. #declare T_Wood29 =
  584.     texture {  pigment{ P_WoodGrain1A color_map { M_Wood19A }}}
  585.     texture {  pigment{ P_WoodGrain1B color_map { M_Wood19B }}}
  586.  
  587. #declare T_Wood30 =
  588.     texture {  pigment{ P_WoodGrain1A color_map { M_Wood1A }}}
  589.     texture {  pigment{ P_WoodGrain1B color_map { M_Wood1B }}}
  590.  
  591. // A light tan wood - heavily grained (variable coloration)
  592. #declare T_Wood31=
  593. texture {
  594.     pigment {
  595.         wood
  596.         turbulence 0.045
  597.         scale 0.125
  598.         color_map {
  599.           [0.10 color rgbf <0.49020, 0.22353, 0.00000, 0.00>]
  600.           [0.16 color rgbf <0.71863, 0.69412, 0.46275, 0.00>]
  601.           [0.20 color rgbf <0.49020, 0.22353, 0.00000, 0.00>]
  602.           [0.25 color rgbf <0.76863, 0.69412, 0.46275, 0.00>]
  603.           [0.32 color rgbf <0.44020, 0.22353, 0.00000, 0.00>]
  604.           [0.37 color rgbf <0.74863, 0.69412, 0.46275, 0.00>]
  605.           [0.40 color rgbf <0.49020, 0.20353, 0.00000, 0.00>]
  606.           [0.45 color rgbf <0.76863, 0.66412, 0.48275, 0.00>]
  607.           [0.51 color rgbf <0.49020, 0.22353, 0.00000, 0.00>]
  608.           [0.55 color rgbf <0.76863, 0.67059, 0.37255, 0.00>]
  609.           [0.61 color rgbf <0.49020, 0.25353, 0.00000, 0.00>]
  610.           [0.65 color rgbf <0.76863, 0.67059, 0.37255, 0.00>]
  611.           [0.70 color rgbf <0.49020, 0.22353, 0.00000, 0.00>]
  612.           [0.75 color rgbf <0.76863, 0.63059, 0.37255, 0.00>]
  613.           [0.82 color rgbf <0.49020, 0.22353, 0.00000, 0.00>]
  614.           [0.88 color rgbf <0.77863, 0.67059, 0.37255, 0.00>]
  615.           [0.91 color rgbf <0.49020, 0.22353, 0.00000, 0.00>]
  616.           [0.95 color rgbf <0.79863, 0.67059, 0.39550, 0.00>]
  617.           [1.00 color rgbf <0.48020, 0.22353, 0.00000, 0.00>]
  618.         }
  619.     }
  620. }
  621.  
  622.  
  623.  
  624. //A rich dark reddish wood, like rosewood, with smooth-flowing grain
  625. #declare T_Wood32=
  626. texture {
  627.     pigment {
  628.         wood turbulence 0.04
  629.         scale 0.15
  630.         color_map {
  631.             [0.15 color rgbf <0.38039, 0.14902, 0.0, 0.0>]
  632.             [0.25 color rgbf <0.23539, 0.00000, 0.0, 0.0>]
  633.             [0.35 color rgbf <0.38139, 0.14912, 0.0, 0.0>]
  634.             [0.45 color rgbf <0.23549, 0.00000, 0.0, 0.0>]
  635.             [0.55 color rgbf <0.38139, 0.14902, 0.0, 0.0>]
  636.             [0.65 color rgbf <0.23559, 0.00000, 0.0, 0.0>]
  637.             [0.75 color rgbf <0.38139, 0.14922, 0.0, 0.0>]
  638.             [0.85 color rgbf <0.23549, 0.00000, 0.0, 0.0>]
  639.             [0.95 color rgbf <0.38039, 0.14902, 0.0, 0.0>]
  640.             [0.90 color rgbf <0.23539, 0.00000, 0.0, 0.0>]
  641.             [1.00 color rgbf <0.38039, 0.14932, 0.0, 0.0>]
  642.         }
  643.     }
  644. }
  645.  
  646. // Similar to T_WoodB, but brighter
  647. #declare T_Wood33=
  648. texture {
  649.     pigment {
  650.         wood turbulence 0.0425
  651.         scale 0.2
  652.         color_map {
  653.             [0.05 color rgbf <0.55294, 0.21176, 0.00000, 0.0>]
  654.             [0.15 color rgbf <0.32549, 0.13725, 0.00000, 0.0>]
  655.             [0.25 color rgbf <0.55294, 0.21176, 0.00000, 0.0>]
  656.             [0.35 color rgbf <0.32549, 0.11765, 0.00000, 0.0>]
  657.             [0.48 color rgbf <0.55294, 0.21176, 0.00000, 0.0>]
  658.             [0.55 color rgbf <0.29412, 0.13725, 0.01176, 0.0>]
  659.             [0.65 color rgbf <0.55294, 0.21176, 0.00000, 0.0>]
  660.             [0.78 color rgbf <0.32549, 0.13725, 0.00000, 0.0>]
  661.             [0.85 color rgbf <0.55294, 0.21176, 0.00000, 0.0>]
  662.             [0.96 color rgbf <0.28627, 0.13725, 0.00000, 0.0>]
  663.             [1.00 color rgbf <0.54510, 0.17647, 0.03529, 0.0>]
  664.         }
  665.         translate <.015, 0, 0>
  666.     }
  667. }
  668.  
  669. // Reddish-orange, large, smooth grain.
  670. #declare T_Wood34 =
  671. texture { T_Wood32 }                  // opaque under-layer
  672. texture  {
  673.     pigment {
  674.         onion
  675.         turbulence 0.2125
  676.         colour_map {
  677.             [0.225 colour rgbf <1.000000, 0.53333, 0.11767, 0.4875>]
  678.             [0.350 colour rgbf <0.662750, 0.28617, 0.00001, 0.7250>]
  679.             [0.500 colour rgbf <1.000100, 0.53333, 0.11765, 0.5745>]
  680.             [0.625 colour rgbf <0.662775, 0.28627, 0.00005, 0.6875>]
  681.             [0.750 colour rgbf <1.000200, 0.53333, 0.11755, 0.5275>]
  682.             [0.875 colour rgbf <0.662755, 0.28629, 0.00001, 0.3795>]
  683.             [1.000 colour rgbf <1.000000, 0.53333, 0.11665, 0.6165>]
  684.         }
  685.         scale <0.225, 0.20, 1.15>
  686.     }
  687. }
  688.  
  689.  
  690. // Orangish, with a grain more like a veneer than a plank
  691. #declare T_Wood35=
  692. texture {
  693.     pigment {
  694.         wood
  695.         turbulence 0.03725
  696.         omega 0.65725
  697.         lambda 2.425
  698.         color_map {
  699.             [0.250 color rgbf <1.00000, 0.53373, 0.11665, 0.000>]
  700.             [0.350 color rgbf <0.66275, 0.28607, 0.00000, 0.000>]
  701.             [0.525 color rgbf <1.00000, 0.53363, 0.11715, 0.000>]
  702.             [0.600 color rgbf <0.66475, 0.28647, 0.00000, 0.000>]
  703.             [0.750 color rgbf <1.00000, 0.53353, 0.11565, 0.000>]
  704.             [0.850 color rgbf <0.66275, 0.28667, 0.00000, 0.000>]
  705.             [1.000 color rgbf <1.00000, 0.53143, 0.11795, 0.000>]
  706.         }
  707.         scale <0.25, 0.225, 1.0>
  708.     }
  709. }
  710. texture {
  711.     pigment {
  712.         wood
  713.         scale 1.01275
  714.         turbulence 0.0435
  715.         omega 0.65
  716.         lambda 3.15
  717.         color_map {
  718.             [0.200 color rgbf <0.56695, 0.17347, 0.00000, 0.8250>]
  719.             [0.350 color rgbf <0.96471, 0.54510, 0.22753, 0.7710>]
  720.             [0.400 color rgbf <0.56341, 0.17547, 0.00000, 0.9150>]
  721.             [0.615 color rgbf <0.96472, 0.54510, 0.22553, 0.7590>]
  722.             [0.700 color rgbf <0.56671, 0.17687, 0.00000, 0.7920>]
  723.             [0.850 color rgbf <0.96485, 0.54510, 0.22453, 0.8975>]
  724.             [1.000 color rgbf <0.56478, 0.17247, 0.00000, 0.9750>]
  725.         }
  726.         scale <0.225, 0.2725, 1.0>
  727.         translate <-0.35, 0.095, 1.25>
  728.     }
  729. }
  730.  
  731. #version Woods_Inc_Temp
  732. #end
  733.